package com.igoal.dto;

import java.util.List;

/**
 * Any dto may have comment feature on it, should implement this interface
 * @author tri
 *
 */
public interface Commentable {
	/**
	 * Initialize comment list
	 * @param comments
	 */
	void setComments(List<CommentDTO> comments);
	
	/**
	 * Retrieve comment list
	 * @return
	 */
	List<CommentDTO> getComments();
	
	/**
	 * Item id
	 * @return
	 */
	Long getId();
}
